import React, { Component } from 'react';

//加载模块样式
import { registerStyle as styles } from '../../../../styles';
import Icon from 'react-native-vector-icons/Ionicons';


import {
    View,
    Text,
    Image,
    TouchableOpacity,
} from 'react-native';

var Dimensions = require('Dimensions');
const { width, height } = Dimensions.get('window');


export default class Registertop extends Component {

    render() {
        return (
            <View style={[styles.container, { width: width * 1 }]}>

                <TouchableOpacity style={styles.resicon1} onPress={() => { this.props.navigation.goBack() }} activeOpacity={1}>
                    <Icon
                        name={'ios-arrow-back'}
                        size={30}
                        color={'#ffffff'} />
                </TouchableOpacity>

                <View style={styles.logo}>
                    <Image source={require('../../../img/Login/logoall2.png')} style={[styles.logoin, { marginTop: height * 0.1 }]} />
                    <Text style={styles.test2}>先&nbsp;知</Text>
                </View>

            </View>

        )
    }
}